//
//  UIViewController+tool.h
//  SideDoctor
//
//  Created by 上官惠阳 on 15/9/18.
//  Copyright (c) 2015年 上官惠阳. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (tool)<UINavigationControllerDelegate,UIImagePickerControllerDelegate>

//相机或相册页面
-(void)createImagePickerControllerWithSourceType:(UIImagePickerControllerSourceType)sourceType;

//从相册或相机上传图片
-(void)updateImageFromCameraOrPhotoLibrary;

//躲避键盘
- (void)makeInputDodger;
@end
